import _fetch from "api_xukaiyu/fetch";
/**
 * 审核
 * @param { Object } data 请求参数
 * {
 *   id undefined
 *   passed undefined
 *   auditNote undefined
 * }
 */
export function audit(data) {
  return _fetch({
    url: "backend/user/sellerApply/audit",
    method: "POST",
    data: data,
    headers: {}
  });
}
/**
 * 保存或更新记录
 * @param { Object } data 请求参数
 * {
 *   t undefined
 * }
 */
export function update(data) {
  return _fetch({
    url: "backend/user/sellerApply/update",
    method: "POST",
    data: data,
    headers: {}
  });
}
/**
 * 删除记录
 * @param { Object } data 请求参数
 * {
 *   id undefined
 * }
 */
export function _delete(data) {
  return _fetch({
    url: "backend/user/sellerApply/delete",
    method: "POST",
    data: data,
    headers: {}
  });
}
/**
 * 查询一条记录
 * @param { Object } data 请求参数
 * {
 *   id undefined
 * }
 */
export function get_one(data) {
  return _fetch({
    url: "backend/user/sellerApply/get_one",
    method: "POST",
    data: data,
    headers: {}
  });
}
/**
 * 查询列表
 * @param { Object } data 请求参数
 * {
 *   isInvoice undefined
 *   isDelete undefined
 *   createOperator undefined
 *   mobile undefined
 *   updateOperator undefined
 *   updateTime undefined
 *   userName undefined
 *   supplyCat undefined
 *   uid undefined
 *   auditTime undefined
 *   createTime undefined
 *   auditNote undefined
 *   buyerUid undefined
 *   aduitOperator undefined
 *   sortOrder undefined
 *   auditStatus undefined
 *   supplyPerMonth undefined
 *   id undefined
 *   remarks undefined
 * }
 */
export function query_list(data) {
  return _fetch({
    url: "backend/user/sellerApply/query_list",
    method: "POST",
    data: data,
    headers: {}
  });
}